/*
 * srav.h
 *
 *  Created on: 07/10/2008
 *      Author: Flavio S Truzzi
 */
#ifndef _SRAV_H_
#define _SRAV_H_

/* macros */
#define DST 0
#define DST_MUL 1
#define DST_MOR 2

/* prototype */


void preprocess_threshold(IplImage *src, IplImage *Y, IplImage *Ytmp, IplImage *Cb, IplImage *Cbtmp, IplImage *Cr, IplImage *Crtmp);

void skin_threshold(IplImage *src, IplImage *ddst,IplConvKernel *the_elem, IplImage *Y,IplImage *Ytmp,int Ymaxthreshold, int Yminthreshold, IplImage *Cb, IplImage *Cbtmp, int CBmaxthreshold, int CBminthreshold, IplImage *Cr, IplImage *Cr_tmp, int CRmaxthreshold, int CRminthreshold, int UATUWANT);

#endif // _SRAV_H_
